class Car:
    def __init__(self, name, model, year):
        self.name = name
        self.model = model
        self.year = year
        self.miles = 0

    def car_desc(self):
        long_name = f"{self.year} {self.name} {self.model}"
        return long_name

    def update_miles(self, m):
        self.miles = m


my_car = Car('BYD', 'HAN', '2025')
print(my_car.car_desc())
my_car.update_miles(100) 
print(my_car.miles)
